<?php
namespace app\member\Lib;
require_once 'phpqrcode/phpqrcode.php';
class Erweima {
    public static function png($text,$outfile = false,$level= QR_ECLEVEL_H,$size = 3,$margin = 4,$saveandprint=false) {
        return \QRcode::png($text,$outfile,$level,$size,$margin,$saveandprint);
    }
} 